package com.sims.action.manager;

import org.springframework.beans.factory.annotation.Autowired;

import com.sims.service.ManagerService;
import com.sims.util.ActionEnhanced;
import com.sims.util.Constant;

public class ManageLogoffAction extends ActionEnhanced{
	@Autowired
	private ManagerService managerService;
	
	@Override
	public String execute() {
		result = managerService.manageLogoff();
		if (result.containsKey(Constant.SUCCESS)) {
			return SUCCESS;
		}
		return ERROR;
	}
}
